package com.we823.project.repository.dao.we;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import com.we823.project.model.we.ResourceModel;

@Repository("resourceRepository")
public interface ResourceRepository extends JpaRepository<ResourceModel, Integer> {
	List<ResourceModel> findByParentid(int parentid);
}
